package com.itheima.arraylist;
/**
 创建一个菜品类，封装菜品数据
 */
public class Food {
    private String name;//菜品名称
    private double price;//菜品价格
    private String dace;//菜品详情

    public Food() {
    }

    public Food(String name, double price, String dace) {
        this.name = name;
        this.price = price;
        this.dace = dace;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public String getDace() {
        return dace;
    }

    public void setDace(String dace) {
        this.dace = dace;
    }
}
